#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>
#include "HashMap.h"

int main(void) {
	HashMap map;
	hashmap_init(&map);

	hashmap_put(&map, "liuqiangdong", "zhangzetian");
	hashmap_put(&map, "wangbaoqiang", "marong");
	hashmap_put(&map, "wenzhang", "mayili");
	hashmap_put(&map, "jianailiang", "lixiaolu");
	
	// V val1 = hashmap_get(&map, "liuqiangdong");
	// V val2 = hashmap_get(&map, "peanut");

	hashmap_display(&map);
	hashmap_delete(&map, "wenzhang");
	hashmap_display(&map);
	hashmap_delete(&map, "peanut");
	hashmap_display(&map);

	hashmap_destroy(&map);
	hashmap_display(&map);
	return 0;
}